package com.luhuiguo.sso.web.services;

import org.apache.tapestry5.SymbolConstants;
import org.apache.tapestry5.ioc.MappedConfiguration;
import org.apache.tapestry5.ioc.ServiceBinder;

public class AppModule {
	public static void bind(ServiceBinder binder) {

	}

	public static void contributeApplicationDefaults(
			MappedConfiguration<String, String> configuration) {
		configuration.add(SymbolConstants.SUPPORTED_LOCALES, "zh_CN,en");
		configuration.add(SymbolConstants.FORM_CLIENT_LOGIC_ENABLED, "false");
		configuration.add(SymbolConstants.COMPRESS_WHITESPACE, "false");
		configuration.add(SymbolConstants.FILE_CHECK_INTERVAL, "60000");
		configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
	}

}
